package com.loong.seller.model;

import com.loong.common.mybatis.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseEntity {
    /**
     * 店铺名字
     */
    private String name;

    /**
     * 企业id
     */
    @Column(name = "company_id")
    private Long companyId;

    /**
     * 地址
     */
    private String address;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 纬度
     */
    private String latitude;

    /**
     * 描述
     */
    private String description;

    /**
     * 语言
     */
    private String language;

    /**
     * 店铺类型
     */
    private Integer type;

    /**
     * 店铺分类 烧烤  中式快餐
     */
    @Column(name = "shop_type_id")
    private Long shopTypeId;

    /**
     * 店铺图标
     */
    private String logo;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 店铺负责人
     */
    private Long admin;

    /**
     * 配送距离
     */
    @Column(name = "delivery_distance")
    private Float deliveryDistance;

    /**
     * 开始营业时间
     */
    @Column(name = "start_time")
    private Date startTime;

    /**
     * 结束营业时间
     */
    @Column(name = "end_time")
    private Date endTime;

    /**
     * 是否24小时营业
     */
    @Column(name = "open_all_day")
    private Boolean openAllDay;

    /**
     * 多少元起送
     */
    private BigDecimal startingSend;

    /**
     * 公告通知
     */
    private String notice;
}